package demo.binder;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

public interface OutputBinding {
    //发送队列1
    String OUTPUT_1 = "output_1";

    String OUTPUT_2 = "output_2";

    @Output(OutputBinding.OUTPUT_1)
    MessageChannel output1();

    @Output(OutputBinding.OUTPUT_2)
    MessageChannel output2();
}
